package com.wmh.baseservice.user.service;

import com.wmh.baseservice.user.pojo.UsRolePermissions;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;

import java.util.List;

/**
 * @author mmx generator
 * @since 2021-11-02
 */
public interface UsRolePermissionsService extends CommonService<UsRolePermissions> {

    /**
     * 修改用户角色权限
     */
    void updateInfo(UsRolePermissions usRolePermissions, String s);

    /**
     * 分配用户权限
     */
    void setPer(Long id, List<UsRolePermissions> usRolePermissionsList);

    /**
     * 删除用户角色权限
     */
    void delete(Long id, Integer type);
}
